package org.yaonan.service;

import java.util.List;

import org.yaonan.bean.YnFriend;
import org.yaonan.bean.YnUser;

public interface YnFriendService {
	List<YnUser> selectFriendsByPage(YnUser ynUser);
	
	List<YnUser> selectPeopleByPage(YnUser ynUser);
	
	void deleteFriend(Integer userid1, Integer userid2);
	
	void insertFriend(YnFriend ynFriend);
	
	int selectCountFriend(Integer userid);
}
